# CMakeLists.txt to build CUDA program from hellocuda.cu
cmake_minimum_required(VERSION 2.8)
find_package(CUDA QUIET REQUIRED)

# Pass options to NVCC
set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS};arch=sm_20)
 
# Specify include directories
include_directories(
    #kernels
    #utility
    /usr/include/X11/
    )
 
# Specify library paths
link_directories(
    /usr/X11/lib    
    )

cuda_add_executable(cellNetwork cellNetwork.cu funcRouting.cu funcView.cu funcCA.cu)

# Specify target & libraries to link it with
target_link_libraries(
    cellNetwork
    -lX11
    )

